package by.bsuir.sn.dto;

import java.util.Date;

public class Message
{
	private Long id;
	private String content;
	private Date date;
	private Long fromId;
	private Long toId;

	public Long getToId()
	{
		return toId;
	}

	public void setToId(Long toId)
	{
		this.toId = toId;
	}

	public Long getFromId()
	{
		return fromId;
	}

	public void setFromId(Long fromId)
	{
		this.fromId = fromId;
	}

	public Date getDate()
	{
		return date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public String getContent()
	{
		return content;
	}

	public void setContent(String content)
	{
		this.content = content;
	}

	public Long getId()
	{
		return id;
	}

	public void setId(Long id)
	{
		this.id = id;
	}
}
